package com.tyk.bookstore.front.comment.model.result;

import com.tyk.bookstore.front.common.core.model.result.ResultEnum;
/**
 * @author tyk
 * @description 回复
 */
public enum ReplyResultEnum implements ResultEnum {
    NOT_SUPPORT_OPERATION(1, "非法操作"),
    REPLY_NOT_FOUND(3, "评论不存在");

    private final Integer code;
    private final String msg;

    ReplyResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
